<template>
	<view>
		<image src="/static/common/bg1.png" class="pagebg1" mode=""></image>
		<u-navbar :safeAreaInsetTop="true" title="我的直播" :autoBack="true" :bgColor="'rgba(255,255,255,'+opc+')'"
			placeholder>

		</u-navbar>
		<view class="pagecon">
			<view class="pd30">
				<u-search placeholder="搜索直播标题" bgColor="#f0f4f7" placeholderColor="#515151" v-model="keyword"
					:showAction='false' height="73rpx"></u-search>
				<view class="title">
					我的直播(3场)
				</view>
			</view>
			<scroll-view scroll-y="true"
				:style="{height: 'calc(100vh - 44px - 80rpx - 10rpx - 86rpx - '+$u.addUnit($u.sys().statusBarHeight + $u.sys().safeAreaInsets.bottom,'px')+')'}">
				<view class="list">
					<view class="list__item" v-for="(item,index) in list" :key="index">
						<view class="list__item__top">
							<view class="list__item__title">
								{{item.title}}
							</view>
							<view class="list__item__time">
								05-06 15:00
							</view>
						</view>
						<view class="list__item__sy">
							<view class="u-flex u-flex-column u-flex-items-center" style="width: 33%;">
								<view class="list__item__text">
									带货总额
								</view>
								<view class="list__item__num">
									￥24000
								</view>
							</view>
							<view class="list__item__line">
								
							</view>
							<view class="u-flex u-flex-column u-flex-items-center" style="width: 33%;">
								<view class="list__item__text">
									佣金收益
								</view>
								<view class="list__item__num" style="color: #FD2A00;">
									￥1200
								</view>
							</view>
							<view class="list__item__line">
								
							</view>
							<view class="u-flex u-flex-column u-flex-items-center" style="width: 33%;">
								<view class="list__item__text">
									直播时长
								</view>
								<view class="list__item__num">
									4 <text style="font-size: 24rpx;color: #5A5A5A;">小时</text>
								</view>
							</view>
						</view>
					</view>
					<view class="gd">
						~暂无更多~
					</view>
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				opc: 0,
				keyword: '',
				list:[
					{title:'进来听听歌吧'},
					{title:'今天是个好日子'},
					{title:'进来聊聊天吧'},
				]
			};
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #f4f4f4;
	}

	.pd30 {
		padding: 10rpx 30rpx 0;

	}

	.title {
		font-family: PingFang-SC, PingFang-SC;
		font-weight: 500;
		font-size: 24rpx;
		color: #545454;
		line-height: 86rpx;
	}
	.list{
		padding: 20rpx 30rpx;
		&__item{
			background: #FFFFFF;
			border-radius: 30rpx 30rpx 30rpx 30rpx;
			margin-bottom: 27rpx;
			&__top{
				height: 97rpx;
				border-bottom: 1rpx solid #E9EAEC;
				display: flex;
				align-items: center;
				justify-content: space-between;
			}
			&__title{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: bold;
				font-size: 30rpx;
				color: #010101;
				line-height: 35rpx;
				padding-left: 32rpx;
			}
			&__time{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #666666;
				line-height: 35rpx;
				padding-right: 25rpx;
			}
			&__sy{
				height: 158rpx;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			&__text{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #5A5A5A;
				line-height: 35rpx;
			}
			&__num{
				font-family: PingFang-SC, PingFang-SC;
				font-weight: bold;
				font-size: 36rpx;
				color: #000000;
				line-height: 35rpx;
				margin-top: 10rpx;
			}
			&__line{
				width: 1rpx;
				height: 30rpx;
				color: #eaebed;
			}
		}
	}
	.gd{
		font-family: PingFang-SC, PingFang-SC;
		font-weight: 500;
		font-size: 24rpx;
		color: #666666;
		line-height: 36rpx;
		text-align: center;
	}
</style>